package com.dkha.server.aspect;

/**
 * @version V1.0
 * @Description: TODO(please write your description)
 * All rights 成都电科慧安
 * @Title: portraitThread
 * @Package com.dkha.server.aspect
 * @author: yangjun
 * @date: 2019/12/27 16:48
 * @Copyright: 成都电科慧安
 */
public class portraitThread  implements  Runnable{

    /**
     * 线程名称
     */
    private String threadName;

    /**
     * 构造函数
     *
     * @param threadName 线程名称
     */
    public portraitThread(String threadName) {
        this.threadName = threadName;
    }

    @Override
    public void run() {
        for (int i = 0; i < 100; i++) {
            try {
                Thread.sleep(100);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("--->>>"+"开始执行"+i);
        }

    }
}